package com.ruoyi.project.system.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.model.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 租户信息对象 sys_tenant
 *
 * @author thanks
 * @date 2020-07-11
 */
@Data
public class SysTenant extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 租户名
     */
    @Excel(name = "租户名")
    private String tenantName;

    /**
     * 地址
     */
    @Excel(name = "地址")
    private String address;

    /**
     * 电话
     */
    @Excel(name = "电话")
    private String phone;

    /**
     * 邮箱
     */
    @Excel(name = "邮箱")
    private String email;

    /**
     * 有效截止时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date activeTime;

    /**
     * 是否激活
     */
    @Excel(name = "是否激活")
    private Integer activeFlag;

    /**
     * 模板ID
     */
    @Excel(name = "模板ID")
    private String tempId;

    /**
     * 租户代码
     */
    private Integer comCode;

    /**
     * 模板名
     */
    private String tempName;

    /**
     * 行政区域编码
     */
    private String regionCodes;

}
